/* ==========================================================================
   FutureCrime Summit — agenda
   The page is one white sheet floating on a blue gradient field.
   ========================================================================== */

:root {
  --bg-base: #f8fafc;
  --bg-surface: rgba(255, 255, 255, 0.7);
  --bg-surface-hover: rgba(255, 255, 255, 0.95);
  --bg-sheet: rgba(255, 255, 255, 0.95);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dark: #ffffff;

  --border-light: rgba(0, 0, 0, 0.08);

  --accent-cyan: #0ea5e9;
  --accent-cyan-dim: rgba(14, 165, 233, 0.1);
  --accent-magenta: #FF5455;
  --accent-purple: #5135FF;

  --grad-brand: linear-gradient(93deg, var(--accent-purple) 10.65%, var(--accent-magenta) 89.35%);

  --sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --mono: 'Outfit', system-ui, -apple-system, sans-serif;

  --gap: 24px;
  --radius: 16px;
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background-color: #a2c2e8;
  color: var(--text-main);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-color: #7db9e8;
  background-image:
    radial-gradient(circle at 10% 95%, #0d47a1 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, #64b5f6 0%, transparent 60%),
    radial-gradient(circle at 0% 0%, #ffffff 0%, transparent 60%),
    radial-gradient(circle at 90% 10%, #e3f2fd 0%, transparent 60%);
}

.app-container {
  background: #ffffff;
  max-width: 1280px;
  margin: 60px auto 160px;
  border-radius: 40px;
  box-shadow:
    0 40px 100px -20px rgba(0, 50, 150, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  position: relative;
}

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }

@media (max-width: 1024px) {
  .app-container { margin: 40px auto 140px; width: calc(100% - 48px); border-radius: 32px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1140px, 100% - 28px); }
  .app-container {
    margin: 0 auto; width: 100%; border-radius: 0;
    box-shadow: none; min-height: 100vh; padding-bottom: 120px;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
  border-radius: 6px;
}

/* hero ------------------------------------------------------------------- */
.hero {
  position: relative; z-index: 1; padding: 60px 0 30px; text-align: center;
  border-radius: 40px 40px 0 0;
}
@media (max-width: 640px) { .hero { border-radius: 0; } }

/* Left-aligned inside an otherwise centred hero. */
.hero-logo {
  display: block;
  width: fit-content;
  margin: 0 auto 22px 0;
  line-height: 0;
}
.hero-logo img {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .hero-logo { margin-bottom: 18px; }
  .hero-logo img { height: 46px; max-width: 190px; }
}

.hero-banner {
  margin: 0 0 8px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  line-height: 0;
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 40 / 13;
  object-fit: cover;
}
@media (max-width: 640px) {
  .hero-banner { border-radius: 14px; }
}

/* live status card ------------------------------------------------------- */
.live { margin-top: 40px; text-align: left; }

.live-skeleton {
  padding: 26px; border-radius: var(--radius);
  border: 1px dashed var(--border-light); color: var(--text-muted);
  font-family: var(--mono); font-size: 13px; text-align: center;
}

.live-card {
  position: relative; overflow: hidden;
  display: grid; gap: 8px;
  padding: 32px 36px;
  border-radius: 24px;
  border: 1px solid rgba(255, 84, 85, 0.4);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 34px -16px rgba(15, 23, 42, 0.2);
}
.live-card.is-idle {
  border-color: #eceff3;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 34px -16px rgba(15, 23, 42, 0.16);
}

.live-label {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-magenta);
}
.live-card.is-idle .live-label { color: var(--accent-cyan); }

.live-title {
  margin: 6px 0 2px; font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  color: #0f172a;
}
.live-meta {
  font-family: var(--mono); font-size: 13px; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
}
.live-meta b { color: var(--text-main); font-weight: 600; }

.live-bar {
  margin-top: 16px; height: 4px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.05); overflow: hidden;
}
.live-bar span {
  display: block; height: 100%; background: var(--grad-brand);
  transition: width 30s linear;
  box-shadow: 0 0 10px var(--accent-magenta);
}

.live-next {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-family: var(--mono); font-size: 13px; color: var(--text-muted);
  display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap;
}
.live-next em {
  font-style: normal; color: var(--accent-cyan); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; font-size: 11px;
}
.live-next b { color: var(--text-main); font-weight: 500; font-family: var(--sans); }

/* controls -------------------------------------------------------------- */
.controls {
  position: sticky; top: 0; z-index: 40;
  margin-top: 20px; padding: 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.controls-inner {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
}

.days {
  display: flex; gap: 8px;
  background: rgba(0, 0, 0, 0.03); padding: 6px; border-radius: 100px;
  border: 1px solid var(--border-light);
}
.day-tab {
  appearance: none; cursor: pointer;
  padding: 8px 20px; border-radius: 100px;
  border: none; background: transparent;
  color: var(--text-muted); font-family: var(--sans); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: all .2s var(--ease-out);
}
.day-tab small { font-family: var(--mono); font-size: 11px; opacity: .8; }
.day-tab:hover { color: var(--text-main); background: rgba(0, 0, 0, 0.04); }
.day-tab[aria-selected="true"] { background: var(--text-main); color: var(--text-dark); }
.day-tab[aria-selected="true"] small { color: rgba(255, 255, 255, 0.7); }

.filters {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  flex: 1 1 auto; justify-content: flex-end;
}
/* Hall switcher: same pill treatment as the day tabs, so the two read as
   a matched pair of controls. */
.halls {
  display: flex; gap: 8px;
  background: rgba(0, 0, 0, 0.03); padding: 6px; border-radius: 100px;
  border: 1px solid var(--border-light);
}

.hall-tab {
  appearance: none; cursor: pointer;
  padding: 8px 20px; border-radius: 100px;
  border: none; background: transparent;
  color: var(--text-muted); font-family: var(--sans); font-size: 14px; font-weight: 600;
  white-space: nowrap;
  transition: all .2s var(--ease-out);
}
.hall-tab:hover { color: var(--text-main); background: rgba(0, 0, 0, 0.04); }
.hall-tab[aria-selected="true"] {
  background: #ffffff;
  color: var(--accent-cyan);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.search {
  position: relative; flex: 1 1 200px; max-width: 280px; min-width: 140px;
  display: flex; align-items: center;
}
.search svg {
  position: absolute; left: 14px; width: 16px; height: 16px;
  fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-linecap: round;
  pointer-events: none;
}
.search input {
  width: 100%; padding: 12px 36px 12px 40px;
  border-radius: 12px; border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.8); color: var(--text-main);
  font-family: var(--sans); font-size: 14px;
  transition: all .2s;
}
.search input::placeholder { color: #64748b; }
.search input:focus {
  border-color: var(--accent-cyan); outline: none; background: #fff;
  box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}
.search .clear {
  position: absolute; right: 10px; width: 24px; height: 24px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, 0.05); color: var(--text-main); font-size: 16px; line-height: 1;
  display: grid; place-items: center;
}
.search .clear:hover { background: rgba(0, 0, 0, 0.1); }

.controls-clock {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  color: var(--accent-cyan);
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(14, 165, 233, 0.2);
  white-space: nowrap;
}
.controls-clock-tz { font-size: .75em; opacity: .8; font-weight: 500; letter-spacing: .05em; }

/* timeline -------------------------------------------------------------- */
.timeline { padding: 34px 0 10px; position: relative; z-index: 1; display: grid; gap: 20px; }

.mesh-card {
  position: relative; overflow: hidden; display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.4fr; gap: 32px;
  width: 100%; text-align: left; appearance: none; cursor: pointer;
  padding: 32px 36px; border-radius: 24px;
  border: 1px solid #eceff3;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.14);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease;
  color: var(--text-main); font-family: var(--sans);
}

.mesh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 18px 40px -14px rgba(15, 23, 42, 0.22);
}

.mc-col-1 h3 {
  margin: 0; font-size: 22px; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.3; color: #0f172a;
  text-wrap: balance;
}
.mc-time {
  margin-top: 20px; font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: #5f748d; display: inline-block; padding: 6px 12px;
  background: #f4f6f9; border-radius: 6px;
  border: 1px solid #e6eaef;
  letter-spacing: 0.05em; text-transform: uppercase;
}

.mc-col-2 .kv-grid {
  display: grid; grid-template-columns: 80px 1fr; gap: 14px 12px;
  font-size: 14px; align-items: baseline; margin-top: 6px;
}
.mc-col-2 .kv-key { color: var(--text-muted); font-weight: 500; }
.mc-col-2 .kv-val { font-weight: 700; color: #0f172a; }

.mc-col-3 { display: flex; flex-direction: column; gap: 16px; margin-top: 2px; }
.mc-speakers { display: flex; flex-direction: column; gap: 14px; }
.mc-speaker-row { display: flex; gap: 14px; align-items: center; }
.mc-speaker-info { display: flex; flex-direction: column; min-width: 0; }
.mc-speaker-info .nm { font-weight: 700; color: #0f172a; font-size: 15px; line-height: 1.2; }
.mc-speaker-info .dg { font-size: 13px; color: var(--text-muted); margin-top: 3px; line-height: 1.4; }

/* Base avatar: a monogram placeholder, or a cropped photo. Size comes from
   the context rather than the base class. */
.av {
  border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--sans); font-weight: 700;
  color: #fff; background: var(--av, var(--accent-cyan));
  object-fit: cover; overflow: hidden;
}

.mc-speaker-row .av { width: 40px; height: 40px; font-size: 13px; }

/* Used in the speaker grid and in both modals. */
.av.xl {
  width: 72px; height: 72px; font-size: 26px;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.25);
  border: 2px solid #ffffff;
}

img.av { color: transparent; }

/* state: currently running — the one place magenta is used. */
@keyframes blink-active-session {
  0%, 100% {
    border-color: rgba(255, 84, 85, 1);
    box-shadow: 0 0 0 1px rgba(255, 84, 85, 0.8), 0 10px 30px -10px rgba(255, 84, 85, 0.3);
  }
  50% {
    border-color: rgba(255, 84, 85, 0.3);
    box-shadow: 0 0 0 1px transparent, 0 10px 30px -10px rgba(255, 84, 85, 0.1);
  }
}

.mesh-card.is-now {
  border: 1px solid rgba(255, 84, 85, 1);
  animation: blink-active-session 1.5s infinite ease-in-out;
  background: #ffffff;
}
.mesh-card.is-now .mc-time {
  color: var(--accent-magenta);
  background: rgba(255, 84, 85, 0.08);
  border-color: rgba(255, 84, 85, 0.2);
}
.mc-live {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-magenta);
}

/* state: finished */
.mesh-card.is-past { opacity: .58; }
.mesh-card.is-past:hover { opacity: 1; }

/* breaks read as quiet dividers, not sessions */
.mesh-card.is-break {
  grid-template-columns: 1fr; text-align: center;
  background: transparent; border: 1px dashed var(--border-light); box-shadow: none;
  padding: 24px; cursor: default;
}
.mesh-card.is-break h3 { font-size: 18px; color: var(--text-muted); font-weight: 600; }
.mesh-card.is-break:hover { transform: none; box-shadow: none; }
.mesh-card.is-break .mc-time { margin-top: 12px; }

.day-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 10px 0 0;
}
.day-head h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--text-main); }
.day-head p {
  margin: 0; font-family: var(--mono); font-size: 13px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}

.empty {
  padding: 60px 20px; color: var(--text-muted); font-size: 15px; text-align: center;
  background: var(--bg-surface); border-radius: var(--radius); border: 1px dashed var(--border-light);
}
.empty strong {
  display: block; color: var(--text-main); font-size: 18px;
  margin-bottom: 8px; font-weight: 600;
}

@media (max-width: 900px) {
  .mesh-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .mc-time { margin-top: 14px; }
  .mc-col-2 .kv-grid { margin-top: 0; }
  .mc-col-1 h3 { font-size: 19px; }
}

/* speaker directory ----------------------------------------------------- */
.directory { padding: 60px 0 80px; margin-top: 40px; position: relative; }
.directory::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; height: 1px; max-width: 1280px;
  background: linear-gradient(90deg, transparent, var(--border-light) 50%, transparent);
}
.dir-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin-bottom: 32px;
}
.dir-head h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.dir-count {
  margin: 0; font-family: var(--mono); font-size: 13px; color: var(--accent-cyan);
  background: var(--accent-cyan-dim); padding: 4px 12px; border-radius: 100px;
}

.dir-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.dir-card {
  appearance: none; cursor: pointer; text-align: left;
  display: flex; gap: 20px; align-items: center;
  padding: 12px; border-radius: 16px;
  border: 1px solid transparent; background: transparent;
  color: inherit; font-family: inherit;
  transition: all .2s var(--ease-out);
}
.dir-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-light);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.dir-card .who { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dir-card .nm {
  display: block; font-size: 18px; font-weight: 700; letter-spacing: -.02em;
  color: #475569; line-height: 1.2;
}
.dir-card:hover .nm { color: var(--text-main); }
.dir-card .og {
  display: block; font-size: 13px; color: #94a3b8; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* detail modal ---------------------------------------------------------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; }
.sheet[hidden] { display: none; }
.sheet-backdrop {
  position: absolute; inset: 0; background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sheet-panel {
  position: relative; margin: auto; width: min(680px, 100% - 32px);
  max-height: min(85vh, 820px); overflow-y: auto;
  background: #ffffff; border: none;
  border-radius: 24px; padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: rise .4s var(--ease-spring);
}
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.98); } }
@media (max-width: 640px) {
  .sheet-panel {
    margin: auto 0 0; width: 100%; max-height: 90vh;
    border-radius: 24px 24px 0 0; padding: 32px 24px 40px;
  }
}
.sheet-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05); background: #f8fafc;
  color: var(--text-main); font-size: 20px; line-height: 1;
  display: grid; place-items: center;
  transition: all .2s;
}
.sheet-close:hover { background: #f1f5f9; transform: rotate(90deg); }

.sheet h3 {
  margin: 16px 0 8px; font-size: 26px; font-weight: 700;
  letter-spacing: -.02em; line-height: 1.3; color: var(--text-main);
}
.sheet .kv {
  display: flex; gap: 8px 12px; flex-wrap: wrap; margin: 0 0 24px;
  font-family: var(--sans); font-size: 14px; color: var(--text-muted);
}
.sheet .kv b { color: var(--text-main); font-weight: 700; }
.sheet .body { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.sheet .body p { margin: 0 0 16px; }
.sheet .body strong { color: var(--text-main); font-weight: 600; }

.sheet h4 {
  margin: 40px 0 16px; font-family: var(--sans); font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-cyan); font-weight: 700;
}
.sp-row {
  display: flex; gap: 16px; align-items: center; padding: 12px 0; margin: 0;
  border-radius: 0;
  width: 100%; text-align: left; background: transparent;
  border: none;
  color: inherit; font-family: inherit; cursor: pointer; transition: all .2s;
}
.sp-row .av { width: 40px; height: 40px; font-size: 13px; }
.sp-row:hover { opacity: .8; }
.sp-row:hover .sp-nm { color: var(--accent-cyan); }
.sp-nm {
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  color: var(--text-main); transition: color .2s;
}
.sp-dg {
  font-size: 14px; color: var(--text-muted); margin-left: 4px;
  line-height: 1.4; display: inline; font-weight: 400;
}
.sp-meta {
  font-size: 13px; color: var(--text-muted); margin-left: 4px;
  display: inline; font-weight: 400;
}

.role-tag {
  margin-left: auto; flex: none;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-magenta); background: rgba(255, 84, 85, 0.1);
  padding: 4px 8px; border-radius: 6px;
}
.sheet .profile { display: flex; gap: 20px; align-items: center; margin-bottom: 32px; }
.sheet .linkedin {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-family: var(--mono); font-size: 13px; color: var(--text-main);
  text-decoration: none; background: rgba(0, 0, 0, 0.03); padding: 8px 16px; border-radius: 8px;
  border: 1px solid var(--border-light); transition: all .2s;
}
.sheet .linkedin:hover { background: rgba(0, 0, 0, 0.06); border-color: var(--accent-cyan); }

/* venue map (inside the detail modal) ----------------------------------- */
.venue-map {
  position: relative;
  margin: 4px 0 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #eef2f7;
  aspect-ratio: 16 / 10;
}
.venue-map iframe,
.venue-map img {
  width: 100%; height: 100%; border: 0; display: block; object-fit: cover;
}

.venue-gate {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 84, 85, 0.25);
  background: rgba(255, 84, 85, 0.05);
}
.venue-gate .num {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
  font-size: 20px; font-weight: 800; letter-spacing: -.02em;
}
.venue-gate .txt { min-width: 0; }
.venue-gate .txt b { display: block; font-size: 15px; color: var(--text-main); font-weight: 700; }
.venue-gate .txt span { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.venue-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-directions,
.btn-map {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all .2s var(--ease-out);
}
.btn-directions {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(81, 53, 255, 0.5);
}
.btn-directions:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(81, 53, 255, 0.55); }
.btn-map {
  background: #f8fafc; color: var(--text-main); border: 1px solid var(--border-light);
}
.btn-map:hover { background: #f1f5f9; }
.btn-directions svg, .btn-map svg { width: 17px; height: 17px; stroke-width: 2.2; fill: none; stroke: currentColor; }

/* footer ---------------------------------------------------------------- */
.foot {
  border-top: 1px solid var(--border-light); padding: 40px 0 60px; text-align: center;
  border-radius: 0 0 40px 40px;
}
@media (max-width: 640px) { .foot { border-radius: 0; } }
.foot p { margin: 0; font-size: 14px; color: var(--text-main); }
.foot-note {
  margin-top: 8px !important; font-family: var(--mono); font-size: 12px;
  color: var(--text-muted) !important;
}

/* bottom nav ------------------------------------------------------------ */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 90;
  width: min(600px, calc(100% - 32px));
  min-height: 76px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 24px;

  /* Frosted glass. Opacity is kept low relative to the blur so the content
     behind genuinely goes soft rather than being covered over. */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(48px) saturate(150%);
  -webkit-backdrop-filter: blur(48px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 1);

  transform: translateX(-50%);
}

.nav-item {
  position: relative;
  flex: 1;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-radius: 14px;
  color: #64748b;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  transition: all .2s ease;
}

.nav-item.active {
  color: var(--accent-purple);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.nav-item:hover:not(.active) { color: var(--text-main); }

.nav-item svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.nav-item.active svg { transform: translateY(-1px); stroke: var(--accent-purple); }

@media (max-width: 720px) {
  :root { --gap: 16px; }
  .halls { width: 100%; justify-content: center; }
  .hall-tab { flex: 1; padding: 8px 12px; font-size: 13px; }
  .bottom-nav { bottom: 12px; min-height: 70px; padding: 6px 8px; border-radius: 20px; }
  .nav-item { gap: 4px; font-size: .75rem; }
  .nav-item svg { width: 22px; height: 22px; }
}

/* scroll reveal --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(15px) scale(.98); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
